package com.zmn.oms.common.dio.quotation3;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * 检测项目选项DIO
 *
 * @author chengguang
 * @date 2022/08/15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("检测项目故障选项查询")
public class MaintainFaultOptionQuery implements Serializable {

    private static final long serialVersionUID = 3065600696274903830L;

    @ApiModelProperty("检测项目和选项")
    @NotEmpty(message = "maintainOptions不能为空")
    private List<MaintainOptionQuery> maintainOptions;

    @ApiModelProperty("故障id集合")
    @NotEmpty(message = "faultIds不能为空")
    private List<Integer> faultIds;
}
